package com.crm.action;

import java.util.Map;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;

import com.crm.pojo.User;
import com.opensymphony.xwork2.ActionSupport;

@Namespace("/account")
public class UserAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private User user;
	private Map<String, Object> session;
	

	@Action("list")
	public String list(){
		/*session.put("user", user);*/
		return SUCCESS;
		
	}	
	/*
	 * set get
	 */
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}


	public void setSession(Map<String, Object> session) {
		this.session = session;
	}
	
	
	
}
